package com.java.mall_imooc.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jiangli
 * @since 2020-03-16 21:01
 */
@Data
public class CartAddForm {
    @NotNull(message = "商品id不能为空")
    private Integer productId;

    private Boolean selected = true;
}
